// 违章查询
import httpAPI from '../../utils/http.js'

export default {
  /**
   * 查询违章列表
   */
  getIllegalList(params) {
    return httpAPI.get('system/builder/illegalrecord/list',params)
  },
  /**
   * 违章查询统计
   * @param {Object} projectId 项目id
   */
  IllegalStatistical(projectId) {
    return httpAPI.get(`system/builder/illegalrecord/${projectId}/monthlyReport`)
  }
}
